package elkaiyohrempfeil;

import java.awt.Dimension;
import java.awt.geom.AffineTransform;
import java.util.ArrayList;

import javax.swing.JFrame;

import com.vividsolutions.jts.geom.LineString;

public class MapFrame extends JFrame 
{   
	
	private MyMap map;
        
    public MapFrame(AffineTransform world2pixel, ArrayList<LineString> aLLineString) 
    {
        super("GIS4Ships");
        setPreferredSize(new Dimension(400, 300));
        setLocation(100,100);
        map = new MyMap(world2pixel, aLLineString);
        add(map);
        pack();
        setVisible(true); 
    }
}
